package com.treasure.web.service;

import com.treasure.common.types.Corp;
import com.treasure.infrastructure.model.po.CorpEmailAccount;
import com.baomidou.mybatisplus.extension.service.IService;
import com.treasure.web.command.request.CorpEmailAccountEditRequest;
import com.treasure.web.command.request.CorpEmailTestRequest;
import com.treasure.web.command.response.CorpEmailAccountResponse;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author sunhongmin
 * @since 2023-11-17
 */
public interface ICorpEmailAccountService extends IService<CorpEmailAccount> {
    CorpEmailAccountResponse getEmailAccount(Corp corp);

    void editEmailAccount(Corp corp, CorpEmailAccountEditRequest corpEmailAccountEditRequest);

    String corpEmailTest(CorpEmailTestRequest corpEmailTestRequest);

}
